<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <title>{$title}</title>
    <link rel="shortcut icon" href="__STATIC__/src/common/img/cauliflower-small.png" type="image/x-icon" />
    <link rel="stylesheet" type="text/css"  href="__STATIC__/src/common/css/bootstrap.css" />
    <style type="text/css">
        a{
            font-weight: bold;
            font-family: Candara ;
            font-size: 18px;
            color: white;
        }
        label{
            color: dimgray;
        }
        .opacity{
            opacity:0.8;
        }
        #background{
            position: fixed;
            top: 0;
            left: 0;
            z-index: -100;
        }
    </style>
</head>
<body>
<canvas id="background"></canvas>
<script async type="text/javascript" src="__STATIC__/src/common/js/background.js"></script>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-offset-1 col-md-10">
            <h2>
                <small style="font-family: 楷体;color: gray">上机考试管理系统</small>
            </h2>
            <hr>
        </div>
        <div class="col-md-offset-1 col-md-10 background center">
            <div class="col-md-4">
            </div>
            <div class="col-md-4 opacity">
                <ul class="nav nav-tabs nav-justified">
                <li class="active">
                    <a href="#admin" data-toggle="tab"><img src="__STATIC__/src/common/img/admin.svg" alt="管理员" title="管理员" data-toggle="tooltip"></a>
                </li>
                <li>
                    <a href="#teacher" data-toggle="tab"><img src="__STATIC__/src/common/img/teacher.svg" alt="教师" title="教师" data-toggle="tooltip"></a>
                </li>
                <li>
                    <a href="#student" data-toggle="tab"><img src="__STATIC__/src/common/img/student.svg" alt="学生" title="学生" data-toggle="tooltip"></a>
                </li>
            </ul>
            <div class="tab-content" style="padding-top: 30px;">
                <div class="tab-pane fade in active" id="admin">
                    <form class="form-horizontal" method="post" action="">
                        <input type="text" name="userType" class="hidden" value="1"/>
                        <div class="form-group">
                            <label for="adminName" class="col-md-3 control-label">用户名：</label>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="userName" id="adminName" placeholder="请输入用户名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="adminPassword" class="col-md-3 control-label">密码：</label>
                            <div class="col-md-9">
                                <input type="password" class="form-control" name="userPassword" id="adminPassword" placeholder="请输入密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-9 col-md-offset-3">
                                <button class="btn btn-success btn-block">登录</button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="tab-pane fade" id="teacher">
                    <form class="form-horizontal" action="" method="post">
                        <input type="text" name="userType" class="hidden" value="2"/>
                        <div class="form-group">
                            <label for="teacherName" class="col-md-3 control-label">用户名：</label>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="userName" id="teacherName" placeholder="请输入用户名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="teacherPassword" class="col-md-3 control-label">密码：</label>
                            <div class="col-md-9">
                                <input type="password" class="form-control" name="userPassword" id="teacherPassword" placeholder="请输入密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-9 col-md-offset-3">
                                <button class="btn btn-success btn-block">登录</button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="tab-pane fade" id="student">
                    <form class="form-horizontal" action="" method="post">
                        <input type="text" name="userType" class="hidden" value="3"/>
                        <div class="form-group">
                            <label for="studentID" class="col-md-3 control-label">考号：</label>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="studentID" id="studentID" placeholder="请输入考号">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="studentName" class="col-md-3 control-label">姓名：</label>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="studentName" id="studentName" placeholder="请输入姓名">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-9 col-md-offset-3">
                                <button type="submit" class="btn btn-success btn-block">登录</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
                </div>
            </div>
            <div class="col-md-4">
            </div>
        </div>
    </div>
</div>
<script src="__STATIC__/src/common/js/jquery-3.2.1.js"></script>
<script src="__STATIC__/src/common/js/bootstrap.js"></script>
<script type="text/javascript">
    $("[data-toggle='tooltip']").tooltip();
</script>
</body>
</html>